package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车站管理对象 platform
 * 
 * @author ruoyi
 * @date 2025-03-21
 */
public class Platform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Excel(name = "ID")
    private Long id;

    /** 城市ID */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Excel(name = "城市ID")
    private Long cityId;

    /** 站点名 */
    @Excel(name = "站点名")
    private String stationName;

    /** 站点名拼音 */
    @Excel(name = "站点名拼音")
    private String stationPinyin;

    /** 站点名首字母 */
    @Excel(name = "站点名首字母")
    private String stationInitials;

    /** 车站类型: 1.火车站 2.高铁站 3.都是 */
    @Excel(name = "车站类型")
    private String stationType;

    /** 创建时间 */
    private Date createdAt;

    /** 修改时间 */
    private Date updatedAt;

    /** 关联的 Station 信息 */
    private Station stationList;

    private String sname;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }
    public void setStationPinyin(String stationPinyin) 
    {
        this.stationPinyin = stationPinyin;
    }

    public String getStationPinyin() 
    {
        return stationPinyin;
    }
    public void setStationInitials(String stationInitials) 
    {
        this.stationInitials = stationInitials;
    }

    public String getStationInitials() 
    {
        return stationInitials;
    }
    public void setStationType(String stationType) 
    {
        this.stationType = stationType;
    }

    public String getStationType() 
    {
        return stationType;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public Station getStationList() {
        return stationList;
    }

    public void setStationList(Station stationList) {
        this.stationList = stationList;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    @Override
    public String toString() {
        return "Platform{" +
                "id=" + id +
                ", cityId=" + cityId +
                ", stationName='" + stationName + '\'' +
                ", stationPinyin='" + stationPinyin + '\'' +
                ", stationInitials='" + stationInitials + '\'' +
                ", stationType='" + stationType + '\'' +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", stationList=" + stationList +
                ", sname='" + sname + '\'' +
                '}';
    }
}
